import axios from '@/libs/api.request'

/*  */
export const userLogin = () => {
  return axios.request({
    url: '/Api/Api/mLogin/mobile/15040249808/cid/l0002484b91af51',
    type: 'get'
  })
}

/* 商务合作 */
export const createbusinesscooperation = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcbusinesscooperation/insertcooperation',
    type: 'post',
    data: data
  })
}
// 投诉提报
export const createFilePostServicecreatePost = (data) => {
  return axios.request({
    url: '/api/uc/ctc/createFilePostService/createPost',
    type: 'post',
    data: data
  })
}
// 投诉列表
export const createNewPostServicefindHistoryList = (data) => {
  return axios.request({
    url: '/api/uc/ctc/createNewPostService/findHistoryList',
    type: 'post',
    data: data
  })
}
// 投诉详情
export const CitizenCardPubDetail = (data) => {
  return axios.request({
    url: '/api/uc/ctc/createNewPostService/getFileInfo',
    type: 'get',
    data: data
  })
}
/* 自查提报疫情来源地接口 */
export const arealist = (data) => {
  return axios.request({
    url: '/api/us/sc/city/arealist',
    data: data,
    type: 'post'
  })
}
/* 自查提报疫情接口 */
export const createuserinfo = (data) => {
  return axios.request({
    url: '/api/uc/csc/HatStateService/createuserinfo',
    data: data,
    type: 'post'
  })
}
export const epidemicserviceList = (data) => {
  return axios.request({
    // url: '/api/us/ctc/epidemic/epidemicserviceList',
    url: '/api/uc/ctc/epidemicService/epidemicserviceList',
    data: data,
    type: 'post'
  })
}
export const epidemicleavingmessage = (data) => {
  return axios.request({
    url: '/api/us/ctc/epidemic/epidemicleavingmessage',
    data: data,
    type: 'post'
  })
}
export const epidemicmessagereplyList = () => {
  return axios.request({
    url: '/api/us/ctc/epidemic/epidemicmessagereplyList',
    type: 'get'
  })
}
export const insertepidemicmessageadd = (data) => {
  return axios.request({
    url: '/api/us/ctc/epidemic/insertepidemicmessageadd',
    data: data,
    type: 'post'
  })
}
export const getuserepidemicmessageaddlist = (data) => {
  return axios.request({
    url: '/api/us/ctc/epidemic/getuserepidemicmessageaddlist',
    data: data,
    type: 'get'
  })
}

export const insertPhysicalInfo = (data) => {
  return axios.request({
    // url: '/api/us/ctc/epidemic/insertPhysicalInfo',
    url: '/api/uc/ctc/epidemicService/insertPhysicalInfo',
    data: data,
    type: 'post'
  })
}
// 复核平台添加接口
export const insertPermitRecheck = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcuserpermit/insertPermitRecheck',
    data: data,
    type: 'post'
  })
}

// 复核列表
export const getPermitRecheckList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcuserpermit/getPermitRecheckList',
    data: data,
    type: 'get'
  })
}
